import 'package:concert_ticket_client/app/modules/recommend_ticket/bindings/recommend_ticket_binding.dart';
import 'package:concert_ticket_client/app/modules/recommend_ticket/views/recommend_ticket_view.dart';
import 'package:get/get.dart';

import '../modules/application/bindings/application_binding.dart';
import '../modules/application/views/application_view.dart';
import '../modules/auth/bindings/auth_binding.dart';
import '../modules/auth/views/auth_view.dart';
import '../modules/concert/bindings/concert_binding.dart';
import '../modules/concert/views/concert_view.dart';
import '../modules/home/bindings/home_binding.dart';
import '../modules/home/views/home_view.dart';
import '../modules/ticket_search/bindings/ticket_search_binding.dart';
import '../modules/ticket_search/views/ticket_search_view.dart';
import '../modules/user/bindings/user_binding.dart';
import '../modules/user/views/user_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.APPLICATION;

  static final routes = [
    GetPage(
      name: _Paths.APPLICATION,
      page: () => ApplicationView(),
      binding: ApplicationBinding(),
    ),
    GetPage(
      name: _Paths.HOME,
      page: () => HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: _Paths.AUTH,
      page: () => AuthView(),
      binding: AuthBinding(),
    ),
    GetPage(
      name: _Paths.USER,
      page: () => UserView(),
      binding: UserBinding(),
    ),
    GetPage(
      name: _Paths.CONCERT,
      page: () => ConcertView(),
      binding: ConcertBinding(),
    ),
    GetPage(
      name: _Paths.RECOMMEND_TICKET,
      page: () => RecommendTicketView(),
      binding: RecommendTicketBinding(),
    ),
    GetPage(
      name: _Paths.TICKET_SEARCH,
      page: () => const TicketSearchView(),
      binding: TicketSearchBinding(),
    ),
  ];
}
